gtk4.git
24 years agoon middle click, center slider on the click.
Havoc Pennington [Mon, 4 Jun 2001 19:29:25 +0000 (19:29 +0000)]
on middle click, center slider on the click.

2001-06-04  Havoc Pennington  <hp@redhat.com>

* gtk/gtkrange.c (gtk_range_button_press): on middle click, center
slider on the click.

24 years agoRemove GtkArgSetFunc, GtkArgGetFunc.
Owen Taylor [Mon, 4 Jun 2001 19:08:59 +0000 (19:08 +0000)]
Remove GtkArgSetFunc, GtkArgGetFunc.

Mon Jun  4 15:08:21 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtk-overrides.txt: Remove GtkArgSetFunc, GtkArgGetFunc.

24 years agomake this special-case hscale/vscale details, so we can use it for
Havoc Pennington [Mon, 4 Jun 2001 02:31:12 +0000 (02:31 +0000)]
make this special-case hscale/vscale details, so we can use it for

2001-06-03  Havoc Pennington  <hp@pobox.com>

* gtk/gtkstyle.c (gtk_default_draw_slider): make this special-case
hscale/vscale details, so we can use it for scrollbar as well.

* tests/testgtk.c (reformat_value): honor digits from GtkScale

* gtk/gtkenums.h (GtkTroughType): Remove this enum
(GtkScrollType): add START and END from GtkTroughType

* gtk/gtkstyle.c (gtk_default_draw_slider): was not properly using
its x/y arguments

* gtk/gtkrange.h, gtk/gtkrange.c, gtk/gtkscrollbar.h,
gtk/gtkscrollbar.c, gtk/gtkscale.h, gtk/gtkscale.c,
gtk/gtkhscrollbar.h, gtk/gtkhscrollbar.c, gtk/gtkvscrollbar.h,
gtk/gtkvscrollbar.c, gtk/gtkhscale.h, gtk/gtkhscale.c,
gtk/gtkvscale.h, gtk/gtkvscale.c: Rewrite GtkRange and subclasses.

Notable changes in the process:

- stepper_size style property is the height for vertical
  ranges, width for horizontal; the other dimension matches
  the trough size
- add ability to do NeXT-style steppers (and several other styles
  that don't make any sense)
- added min_slider_length, fixed_slider_length properties to
          GtkScrollbar
        - cleaned some private (or at least useless) functions out of
          gtkscale.h
        - moved bindings to GtkScale from subclasses, even arrow keys,
  since blind users don't know scale orientation.
        - change move_slider action signal to use new GtkScrollType,
  remove GtkTroughType argument
- digits rounds the values a range will input to the given
  number of decimals, but will not try to force adjustment
  values set by other controllers. That is, we no longer
  modify adjustment->value inside a value_changed handler.
- added getters for GtkScale setters
        - middle-click begins a slider drag

24 years agoInitial stab at getting the focus code to work.
Jonathan Blandford [Fri, 1 Jun 2001 23:05:46 +0000 (23:05 +0000)]
Initial stab at getting the focus code to work.

Fri Jun  1 18:54:47 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c: (gtk_tree_view_focus): Initial stab at
getting the focus code to work.
(gtk_tree_view_class_init): Add a bunch of keybindings.

* gtk/gtktreeviewcolumn.c
(gtk_tree_view_column_set_cell_data_func):
s/GtkCellDataFunc/GtkTreeCellDataFunc.
(_gtk_tree_view_column_set_tree_view): Use "notify::model" instead
of "properties_changed" to help justify the death of the latter
signal. (-:

* tests/testtreefocus.c (main): Let some columns be focussable to
test focus better.

24 years agoInitial stab at getting the focus code to work.
Jonathan Blandford [Fri, 1 Jun 2001 22:57:30 +0000 (22:57 +0000)]
Initial stab at getting the focus code to work.

Fri Jun  1 18:54:47 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c: (gtk_tree_view_focus): Initial stab at
getting the focus code to work.
(gtk_tree_view_class_init): Add a bunch of keybindings.

* gtk/gtktreeviewcolumn.c
(gtk_tree_view_column_set_cell_data_func):
s/GtkCellDataFunc/GtkTreeCellDataFunc.
(_gtk_tree_view_column_set_tree_view): Use "notify::model" instead
of "properties_changed" to help justify the death of the latter
signal. (-:

* tests/testtreefocus.c (main): Let some columns be focussable to
test focus better.

24 years agoimplement overwrite mode
Havoc Pennington [Fri, 1 Jun 2001 19:26:01 +0000 (19:26 +0000)]
implement overwrite mode

2001-06-01  Havoc Pennington  <hp@redhat.com>

* gtk/gtkentry.c (gtk_entry_commit_cb): implement overwrite mode

* gtk/gtktextview.c (gtk_text_view_commit_handler): don't
overwrite in overwrite mode if we already deleted the selection
and replaced it with new text.

* gtk/gtklabel.c (gtk_label_select_region_index): if you set the
selection to an empty range, clear the clipboard if we owned it.
(gtk_label_set_selectable): give up selection if we become
unselectable.
(gtk_label_state_changed): override state changed to unselect text
when insensitive
(get_text_callback): add paranoia check that indexes aren't
outside of label->text
(gtk_label_select_region): make -1 for start_offset mean "end of
label," for consistency with GtkEditable

* gtk/gtkmessagedialog.c (gtk_message_dialog_new): honor
GTK_DIALOG_NO_SEPARATOR flag

24 years agoFix notifications on non-existant "enable_arrow_keys". (#53753, Skip
Owen Taylor [Fri, 1 Jun 2001 17:46:45 +0000 (17:46 +0000)]
Fix notifications on non-existant "enable_arrow_keys". (#53753, Skip

Fri Jun  1 11:47:11 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkcombo.c (gtk_combo_set_use_arrows_always): Fix
notifications on non-existant "enable_arrow_keys".
(#53753, Skip Montanaro)

24 years agoAdd GDK_TYPE_RECTANGLE.
Owen Taylor [Fri, 1 Jun 2001 15:44:13 +0000 (15:44 +0000)]
Add GDK_TYPE_RECTANGLE.

Fri Jun  1 11:31:55 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkrectangle.c (gdk_rectangle_get_type): Add
GDK_TYPE_RECTANGLE.

* gtk/gtkwidget.c (gtk_widget_class_init): Fix type
of allocation argument be GDK_TYPE_RECTANGLE.

24 years agoAccount for the fact that the border width is _outside_ the window. (Fixes
Owen Taylor [Thu, 31 May 2001 19:11:16 +0000 (19:11 +0000)]
Account for the fact that the border width is _outside_ the window. (Fixes

Thu May 31 12:43:57 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkoptionmenu.c: Account for the fact that the border
width is _outside_ the window. (Fixes #54585, bug found
        by Bastien Nocera.)

24 years agoCorrect typoe when describing order of composition. (#53371, Skip
Owen Taylor [Wed, 30 May 2001 20:58:07 +0000 (20:58 +0000)]
Correct typoe when describing order of composition. (#53371, Skip

Wed May 30 16:56:07 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/tmpl/gtkrc.sgml (pattern): Correct typoe when
describing order of composition. (#53371, Skip Montanaro)

24 years agoValidate value from GDK settings against parameter spec.
Owen Taylor [Wed, 30 May 2001 20:40:28 +0000 (20:40 +0000)]
Validate value from GDK settings against parameter spec.

Wed May 30 15:56:30 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtksettings.c (gtk_settings_get_property): Validate
value from GDK settings against parameter spec.

* gdk/x11/gdkevents-x11.c (gdk_setting_get): Add assignments
to temporary values and use g_value_transform(), since
thinking that GValue was going to be easy or efficient
to use was, of course, a mistake.

        * gtk/gtksettings.c: Add cursor blink setting.

* gdk/x11/gdkevents-x11.c: Add cursor blink X settings.

* gtk/gtkentry.c: Add cursor blinking.

* gtk/gtktextview.c (gtk_text_view_check_cursor_blink): Use
cursor blink global settings.

* gtk/gtkentry.c (gtk_entry_button_press): Add notification
for :text_position in places where it is missing.

24 years agoFix prototype to use "(void)" instead of "()".
Darin Adler [Tue, 29 May 2001 23:28:28 +0000 (23:28 +0000)]
Fix prototype to use "(void)" instead of "()".

* gdk-pixbuf.h: Fix prototype to use "(void)" instead of "()".

24 years agoFix GNU sedism (#55430)
Owen Taylor [Tue, 29 May 2001 22:18:48 +0000 (22:18 +0000)]
Fix GNU sedism (#55430)

Tue May 29 18:17:11 2001  Owen Taylor  <otaylor@redhat.com>

* autogen.sh (have_libtool): Fix GNU sedism (#55430)

24 years agoUse $PKG_CONFIG, not pkg-config. (#51032)
Owen Taylor [Tue, 29 May 2001 21:42:20 +0000 (21:42 +0000)]
Use $PKG_CONFIG, not pkg-config. (#51032)

Tue May 29 17:40:29 2001  Owen Taylor  <otaylor@redhat.com>

* configure.in (GTK_DEP_CFLAGS): Use $PKG_CONFIG,
not pkg-config. (#51032)

* gdk/gdkproperty.h: Remove inappropriate G_GNUC_CONST
(fixes #51952, James Henstridge)

24 years agoPatch from Helmethead <hoshem@mel.comcen.com.au> to fix up bmp decoder to:
Jonathan Blandford [Mon, 28 May 2001 18:28:16 +0000 (18:28 +0000)]
Patch from Helmethead <hoshem@mel.comcen.com.au> to fix up bmp decoder to:

Mon May 28 14:21:35 2001  Jonathan Blandford  <jrb@redhat.com>

* io-bmp.c: Patch from Helmethead <hoshem@mel.comcen.com.au> to
fix up bmp decoder to:
 - adds 16 bpp bmp support (bug #53884)
 - adds OS/2 1.x format bmp support (bug #54964)
 - adds 4 bpp RLE compressed bmp support
 - adds 1 bpp colormap support
 - fixes negative height (top down) bmp support.

24 years agoRename to the more correct gtk-go-up.
Alexander Larsson [Sun, 27 May 2001 21:43:09 +0000 (21:43 +0000)]
Rename to the more correct gtk-go-up.

2001-05-27  Alexander Larsson  <alla@lysator.liu.se>

* gtk/gtkstock.h (GTK_STOCK_GO_UP):
Rename to the more correct gtk-go-up.

* gtk/stock-icons/stock_menu_sort_ascending.png:
Added new file.

* gtk/stock-icons/stock_menu_sort_descending.png:
Changed to show descending instead of ascending.

* gtk/gtkiconfactory.c:
Added menu size icon to sort ascending.

* gtk/stock-icons/Makefile.am:
Added stock_menu_sort_ascending.png.

* gtk/gtkseparatormenuitem.c:
Use correct typenames.

24 years agomake hanlder id a gulong as in GSignal.
Tim Janik [Sun, 27 May 2001 18:30:30 +0000 (18:30 +0000)]
make hanlder id a gulong as in GSignal.

Sun May 20 20:07:35 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtksignal.[hc] (gtk_signal_connect_full): make hanlder id a
        gulong as in GSignal.

24 years agoUpdated Swedish translation.
Christian Rose [Sun, 27 May 2001 00:44:46 +0000 (00:44 +0000)]
Updated Swedish translation.

2001-05-27  Christian Rose  <menthos@menthos.com>

* po/sv.po: Updated Swedish translation.

24 years agorevert test harmless commit of po check script
Owen Taylor [Sat, 26 May 2001 23:59:34 +0000 (23:59 +0000)]
revert test harmless commit of po check script

24 years agotest harmless commit of po check script
Owen Taylor [Sat, 26 May 2001 23:53:13 +0000 (23:53 +0000)]
test harmless commit of po check script

24 years agoRemove almost all instances of GtkCellRenderer in code (all but dnd icon
Jonathan Blandford [Fri, 25 May 2001 23:10:49 +0000 (23:10 +0000)]
Remove almost all instances of GtkCellRenderer in code (all but dnd icon

Fri May 25 19:04:17 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_calc_size): Remove almost all
instances of GtkCellRenderer in code (all but dnd icon code).
Virtualized in GtkTreeViewColumn.  Now I need to move focus in
there, and I can do multiple Cells per column.

* gtk/gtktreeviewcolumn.c: Proxy all cell calls correctly

* gtk/gtktreemodel.c (gtk_tree_row_reference_new_proxy): fix bug
when model was unreffed prior to removing the row reference.

24 years agofix so that default icons are created if you call gtk_stock_list_ids()
Havoc Pennington [Fri, 25 May 2001 22:08:53 +0000 (22:08 +0000)]
fix so that default icons are created if you call gtk_stock_list_ids()

2001-05-25  Havoc Pennington  <hp@redhat.com>

* gtk/gtkiconfactory.c: fix so that default icons are created if
you call gtk_stock_list_ids()

* demos/gtk-demo/stock_browser.c (create_model): sort stock items
in list

24 years agoforgot to add stock_browser.c
Havoc Pennington [Fri, 25 May 2001 21:56:34 +0000 (21:56 +0000)]
forgot to add stock_browser.c

24 years agoget sizes an icon set can render without falling back to missing image
Havoc Pennington [Fri, 25 May 2001 20:41:46 +0000 (20:41 +0000)]
get sizes an icon set can render without falling back to missing image

2001-05-25  Havoc Pennington  <hp@redhat.com>

* gtk/gtkiconfactory.c (gtk_icon_set_get_sizes): get sizes an icon
set can render without falling back to missing image icon

* gtk/gtktextview.c (gtk_text_view_size_request): request full
size of text, instead of random values

* gtk/gtktreeview.c (gtk_tree_view_size_request): request full
size of tree view, instead of random values

* gtk/gtkiconfactory.c (gtk_icon_set_render_icon): render fallback
image in an appropriate size

        * gtk/gtkstock.h: Rename the stock items including _BUTTON_,
etc. not to include that. i.e. s/GTK_STOCK_BUTTON_OK/GTK_STOCK_OK/

        Throughout: fix GTK_STOCK_BUTTON_ instances

* gtk/gtkstock.h, gtk/gtkstock.c, gtk/gtkiconfactory.h,
gtk/gtkiconfactory.c, gtk/stock-icons/Makefile.am:
Add a bunch of new stock items/icons

* gtk/gtktreeview.c (gtk_tree_view_insert_column_with_data_func):
new function, convenience for inserting columns with a data func

* gtk/gtkiconfactory.c: keep a list of all existing icon factories
(_gtk_icon_factory_list_ids): use list of all factories to
generate a list of all known IDs

* gtk/gtkstock.c (gtk_stock_list_ids): replace
gtk_stock_list_items() with a function that returns all IDs known
including those for GtkIconFactory.

24 years agomade fil mode GDK_STIPPLED actually work -> check boxes and radio buttons
Hans Breuer [Fri, 25 May 2001 15:43:53 +0000 (15:43 +0000)]
made fil mode GDK_STIPPLED actually work -> check boxes and radio buttons

2001-05-25  Hans Breuer  <hans@breuer.org>

* gdk/win32/gdkgc-win32.c : made fil mode GDK_STIPPLED actually
work -> check boxes and radio buttons are drawn now, even on win9x.
Improved line settings a bit, still no clue how to get really dotted
lines on win9x, on NT it's PS_ALTERNATE.

* gdk/win32/gdkwindow-win32.c : use SafeAdjustWindowRect for
GDK_HINT_MIN_SIZE as well

* gdk/win32/makefile.am : added gdkkeys-win32.c to EXTRA_DIST

* gtk/gtk.def : updated

* gtk/gtktreeprivate.h : change column_drop_func to be a function
pointer not a function pointer pointer

* tests/testdnd.c : include <stdlib.h> for putenv prototype

* tests/testsocket.c : made it compile on win32 again

* tests/makefile.msc : one more test-app uses prop-editor.obj

24 years agoreflect Havoc's recent api change
Hans Breuer [Fri, 25 May 2001 15:40:09 +0000 (15:40 +0000)]
reflect Havoc's recent api change

2001-05-25  Hans Breuer  <hans@breuer.org>

* gdk_pixbuf.def : reflect Havoc's recent api change

24 years agoNew function
Havoc Pennington [Fri, 25 May 2001 03:42:40 +0000 (03:42 +0000)]
New function

2001-05-22  Havoc Pennington  <hp@pobox.com>

* gtk/gtkbin.c (gtk_bin_get_child): New function

24 years agoAdd Mode_Switch to list of keys to ignore when doing compose processing.
Owen Taylor [Thu, 24 May 2001 00:16:49 +0000 (00:16 +0000)]
Add Mode_Switch to list of keys to ignore when doing compose processing.

Wed May 23 20:07:53 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkimcontextsimple.c: Add Mode_Switch to list of keys
to ignore when doing compose processing.

24 years agoSimplify as suggested by Havoc. Just get the last iter and work backward
Joe Shaw [Tue, 22 May 2001 20:38:18 +0000 (20:38 +0000)]
Simplify as suggested by Havoc. Just get the last iter and work backward

2001-05-22  Joe Shaw  <joe@ximian.com>

* gtk/gtktextiter.c (_gtk_text_btree_get_iter_at_last_toggle):
Simplify as suggested by Havoc. Just get the last iter and work
backward to the tag instead of getting a line and working back from
there. Fixes passing in an invalid offset to
iter_init_from_byte_offset().

24 years agoAdded patch from Jeff Franks <jcf@tpg.com.au> to add GET_CLASS macros to
Jonathan Blandford [Tue, 22 May 2001 20:30:48 +0000 (20:30 +0000)]
Added patch from Jeff Franks <jcf@tpg.com.au> to add GET_CLASS macros to

Tue May 22 16:25:27 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview*.h:
* gtk/gtkcell*.h:
* gtk/gtk*store.h:
Added patch from Jeff Franks <jcf@tpg.com.au> to add GET_CLASS
macros to all objects.

24 years agoEvil function to deal with very large (TM) amounts of text. May be moved
Jonathan Blandford [Tue, 22 May 2001 19:18:47 +0000 (19:18 +0000)]
Evil function to deal with very large (TM) amounts of text. May be moved

Tue May 22 15:13:52 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkcellrenderertext.c
(gtk_cell_renderer_text_set_fixed_size): Evil function to deal
with very large (TM) amounts of text.  May be moved to
GtkCellRenderer in the future, though I'm not sure it wants to be
this accessible.

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
More sanity brought to this class.  I like it.

* tests/testtreecolumns.c (ViewColumnModel): Amazingly scary test
case.  Kids, don't try this at home.

* gtk/gtktreemodel.c (gtk_tree_model_get_iter_root): new
convenience function.

* gtk/gtkwindow.c (gtk_window_set_geometry_hints): Fix typo in docs.

24 years agoUpdated Norwegian translation.
Kjartan Maraas [Tue, 22 May 2001 15:01:25 +0000 (15:01 +0000)]
Updated Norwegian translation.

2001-05-22  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian translation.

24 years agoAdded properties. Based on patch by Lee Mallabone.
Alexander Larsson [Tue, 22 May 2001 00:11:10 +0000 (00:11 +0000)]
Added properties. Based on patch by Lee Mallabone.

2001-05-21  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkfontsel.c:
Added properties. Based on patch by Lee Mallabone.

* gtk/gtkruler.c:
* gtk/gtkhruler.c:
* gtk/gtkvruler.c:
* gtk/gtktext.c:
* gtk/gtktextview.c:
Converted GtkArg to GParam. Based on patches by John Margaglione.

* tests/Makefile.am:
* tests/testtext.c:
Add a property editor to testtext.

24 years agoOnly show the separator if both children are present and visible.
Owen Taylor [Mon, 21 May 2001 15:56:19 +0000 (15:56 +0000)]
Only show the separator if both children are present and visible.

Mon May 21 11:29:21 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtk{h,v,}paned.c: Only show the separator if both children
are present and visible.

* configure.in: Fixed reversed conditional causing all image
libraries to be linked in.

24 years agoRemove the assertion that top_y needs to be >= 0.
Joe Shaw [Mon, 21 May 2001 05:35:03 +0000 (05:35 +0000)]
Remove the assertion that top_y needs to be >= 0.

2001-05-21  Joe Shaw  <joe@ximian.com>

* gtk/gtklayout.c (gtk_text_layout_get_lines): Remove the assertion
that top_y needs to be >= 0.

24 years agoImprove error messages for X errors and losing connection to the X server.
Havoc Pennington [Sun, 20 May 2001 22:48:40 +0000 (22:48 +0000)]
Improve error messages for X errors and losing connection to the X server.

2001-05-11  Havoc Pennington  <hp@pobox.com>

* gdk/x11/gdkmain-x11.c: Improve error messages for X errors and
losing connection to the X server.

24 years agoStart checks for X from pangox/pangoxft CFLAGS to avoid duplicate
Owen Taylor [Sun, 20 May 2001 18:25:34 +0000 (18:25 +0000)]
Start checks for X from pangox/pangoxft CFLAGS to avoid duplicate

Sun May 20 13:59:20 2001  Owen Taylor  <otaylor@redhat.com>

* configure.in: Start checks for X from pangox/pangoxft
CFLAGS to avoid duplicate libraries.

* gdk/Makefile.am (LDFLAGS): Remove extra -lm.

* configure.in (GDK_PIXBUF_PACKAGES): Fix GDK_PIXBUF_PACKAGES
to include gobject.

24 years agoRemove an excess $(GLIB_LIBS).
Owen Taylor [Sun, 20 May 2001 18:24:37 +0000 (18:24 +0000)]
Remove an excess $(GLIB_LIBS).

Sun May 20 12:53:49 2001  Owen Taylor  <otaylor@redhat.com>

        * Makefile.am (libgdk_pixbuf_1_3_la_LDFLAGS): Remove an
        excess $(GLIB_LIBS).

24 years agoConvert GtkArgs to GParams. Based on patch by John Margaglione. Also do
Alexander Larsson [Fri, 18 May 2001 22:31:02 +0000 (22:31 +0000)]
Convert GtkArgs to GParams. Based on patch by John Margaglione. Also do

2001-05-18  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkspinbutton.c:
Convert GtkArgs to GParams. Based on patch by John Margaglione.
Also do size request reasonable for MAXDOUBLE. Previously it printed
the limits to a buffer and overran it. Instead do it using log10() and
limit the width to 10 digits.

* gtk/gtkwidget.c (gtk_widget_get_property):
Correctly handle setting the parent property to NULL.

24 years agoReset style attributes even if the widget isn't realized.
Owen Taylor [Fri, 18 May 2001 20:56:55 +0000 (20:56 +0000)]
Reset style attributes even if the widget isn't realized.

Fri May 18 15:26:26 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktextview.c (gtk_text_view_style_set): Reset
style attributes even if the widget isn't realized.

* demos/gtk-demo/main.c: Use a slightly smaller font.

24 years agoRemove reallocate-redraws property. This is something that only a widget
Owen Taylor [Fri, 18 May 2001 18:30:59 +0000 (18:30 +0000)]
Remove reallocate-redraws property. This is something that only a widget

Fri May 18 14:25:20 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkcontainer.c: Remove reallocate-redraws property.
This is something that only a widget writer would ever want
to change.

* gtk/gtksignal.c: Handle G_SIGNAL_TYPE_STATIC_SCOPE for
gtk_signal_emit_by_name().

* gtk/gtkviewport.c: Fix some warnings.

* gtk/gtkwidget.c gtk/gtksizegroup.c: Add "size group" facility
allowing the requisitions of multiple widgets to be grouped
together.

* tests/testgtk.c: Add GtkSizeGroup test

* demos/gtk-demo/sizegroup.c: Add GtkSizeGroup demo.

* demos/gtk-demo/main.c demos/gtk-demo/pixbufs.c: Fix some
warnings.

* configure.in: Switch to using AM_GLIB_GNU_GETTEXT.

24 years agoAdd documentation about GtkSizeGroup.
Owen Taylor [Fri, 18 May 2001 18:28:52 +0000 (18:28 +0000)]
Add documentation about GtkSizeGroup.

Fri May 18 12:28:08 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/tmpl/gtksizegroup.sgml gtk/gtk-sections.txt gtk/gtk.types:
Add documentation about GtkSizeGroup.

24 years agoRenamed gtk_image_menu_item_add_icon() to gtk_image_menu_item_set_icon()
Martin Baulig [Fri, 18 May 2001 17:35:20 +0000 (17:35 +0000)]
Renamed gtk_image_menu_item_add_icon() to gtk_image_menu_item_set_icon()

2001-04-28  Martin Baulig  <baulig@suse.de>

* gtk/gtkimagemenuitem.[ch]: Renamed gtk_image_menu_item_add_icon()
to gtk_image_menu_item_set_icon() and made it work if there's already
an image.
(gtk_image_menu_item_new): This function doesn't take any arguments anymore.
(gtk_image_menu_item_new_with_label): New function.

24 years agosmall changes
Kenneth Christiansen [Fri, 18 May 2001 17:34:39 +0000 (17:34 +0000)]
small changes

24 years agoIt's the worlds ugliest highlighting code!!!! The result is okay so long
Jonathan Blandford [Fri, 18 May 2001 16:28:30 +0000 (16:28 +0000)]
It's the worlds ugliest highlighting code!!!! The result is okay so long

Thu May 17 16:20:04 2001  Jonathan Blandford  <jrb@redhat.com>

* demos/gtk-demo/main.c (fontify): It's the worlds ugliest
highlighting code!!!!  The result is okay so long as you don't try
to stress it.  It also highlights a bug in the TextView so it's in
an unproportional font right now until it's fixed.

*demos/gtk-demo/*.c: Clean up code a bit to make it
ugly-parser(TM) friendly. (-:

24 years agoRemove the assertions that x_offset and y_offset must be >= 0. Clip the
Joe Shaw [Fri, 18 May 2001 03:41:30 +0000 (03:41 +0000)]
Remove the assertions that x_offset and y_offset must be >= 0. Clip the

2001-05-17  Joe Shaw  <joe@ximian.com>

* gtk/gtktextdisplay.c (gtk_text_layout_draw): Remove the assertions
that x_offset and y_offset must be >= 0. Clip the cursor being drawn
if it is only partially onscreen.

24 years agoMake logical motion and deletion by graphemes, not by characters.
Owen Taylor [Thu, 17 May 2001 21:13:12 +0000 (21:13 +0000)]
Make logical motion and deletion by graphemes, not by characters.

Thu May 17 17:10:13 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkentry.c: Make logical motion and deletion by graphemes,
not by characters.

* gtk/gtkentry.c: Handle "trailing" returns from Pango when they
are not zero or one; that is, when graphemes of multiple characters
are involved.

* gtk/gtktextlayout.c (line_display_index_to_iter): Remove unnecessary
FIXME.

24 years agofile gdkdisplaymgr-x11.c was initially added on branch gtk-multihead.
Erwann Chenede [Thu, 17 May 2001 20:23:33 +0000 (20:23 +0000)]
file gdkdisplaymgr-x11.c was initially added on branch gtk-multihead.

24 years agofile gdkdisplaymgr-x11.h was initially added on branch gtk-multihead.
Erwann Chenede [Thu, 17 May 2001 20:23:33 +0000 (20:23 +0000)]
file gdkdisplaymgr-x11.h was initially added on branch gtk-multihead.

24 years agofile gdkdisplaymgr.c was initially added on branch gtk-multihead.
Erwann Chenede [Thu, 17 May 2001 20:23:32 +0000 (20:23 +0000)]
file gdkdisplaymgr.c was initially added on branch gtk-multihead.

24 years agofile gdkdisplaymgr.h was initially added on branch gtk-multihead.
Erwann Chenede [Thu, 17 May 2001 20:23:32 +0000 (20:23 +0000)]
file gdkdisplaymgr.h was initially added on branch gtk-multihead.

24 years agoAdd properties, based on patch by Lee Mallabone.
Alexander Larsson [Thu, 17 May 2001 16:22:06 +0000 (16:22 +0000)]
Add properties, based on patch by Lee Mallabone.

2001-05-17  Alexander Larsson  <alla@lysator.liu.se>

* gtk/gtkbbox.c:
Add properties, based on patch by Lee Mallabone.

* gtk/gtknotebook.c:
* gtk/gtktoolbar.c:
Convert from GtkArg to GParam, based on patch by John Margaglione.

* gtk/gtkhscale.c:
* gtk/gtkvscale.c:
* gtk/gtkhscrollbar.c:
* gtk/gtkvscrollbar.c:
* gtk/gtkrange.c:
Move adjustment property to GtkRange.

* gtk/gtklabel.c:
Setup mnemonics on property changes

* gtk/gtkwidget.c (gtk_widget_get_property):
GdkExtensionMode is an enum, not a flag. Set it with
g_value_set_enum ().

* tests/prop-editor.c:
Better propery editor.

* tests/testgtk.c:
Add new property test. Pass zero to the property editor to
get properties from all derived types.

24 years agoun May 13 12:01:12 2001 Owen Taylor <otaylor@redhat.com>
Owen Taylor [Wed, 16 May 2001 18:51:28 +0000 (18:51 +0000)]
un May 13 12:01:12 2001  Owen Taylor  <otaylor@redhat.com>

        * autogen.sh (have_automake): Require libtool-1.4,
        automake-1.4p1.

        * acinclude.m4: Remove libtool macros.

        * gdk-pixbuf/Makefile.am: Add dependencies to loade
        modules.

        * gdk/Makefile.am: Add dependency on libgdk_pixbuf.la
        for libgdk.

        * gtk/Makefile.am: Add dependency on libgdk_pixbuf.la
        libgdk.la for libgtk.

        * modules/input/Makefile.am: Make modules have full
        dependencies.

24 years agoRequire libtool-1.4, automake-1.4p1.
Owen Taylor [Wed, 16 May 2001 18:51:07 +0000 (18:51 +0000)]
Require libtool-1.4, automake-1.4p1.

Sun May 13 12:01:12 2001  Owen Taylor  <otaylor@redhat.com>

        * autogen.sh (have_automake): Require libtool-1.4,
        automake-1.4p1.

        * acinclude.m4: Remove libtool macros.

        * gdk-pixbuf/Makefile.am: Add dependencies to loade
        modules.

        * gdk/Makefile.am: Add dependency on libgdk_pixbuf.la
        for libgdk.

        * gtk/Makefile.am: Add dependency on libgdk_pixbuf.la
        libgdk.la for libgtk.

        * modules/input/Makefile.am: Make modules have full
        dependencies.

24 years agofix bug #54699 where paths weren't being checked for correctness.
Jonathan Blandford [Wed, 16 May 2001 18:16:57 +0000 (18:16 +0000)]
fix bug #54699 where paths weren't being checked for correctness.

Wed May 16 14:06:01 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreemodel.c (gtk_tree_path_new_from_string): fix bug
#54699 where paths weren't being checked for correctness.

24 years agoYou can now set all sorts of properties in any order you wan, whether or
Jonathan Blandford [Wed, 16 May 2001 00:23:30 +0000 (00:23 +0000)]
You can now set all sorts of properties in any order you wan, whether or

Tue May 15 20:13:24 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeviewcolumn.c: You can now set all sorts of properties
in any order you wan, whether or not the column is added to the
tree, or the tree is realized.  Yay!

* gtk/gtktreeviewcolumn.c
(gtk_tree_view_column_setup_sort_column_id_callback): handle
sorting columns a lot saner

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_reorderable):
new function to actually set wether or not a column is
reorderable.

* gtk/gtktreeview.c (gtk_tree_view_unrealize): Only destroy things
if we have 'em.

* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_set_tree_view):
Fix nasty bug where we were showing the button just before
realizing it.  As a result, the parent window was
tree_view->window instead of tree_view->priv->header_window.

* gtk/gtktreeview.c (gtk_tree_view_set_reorderable): new property
to let you easily reorder a list or tree.

24 years agoFixed encoding
Matthias Warkus [Tue, 15 May 2001 17:48:31 +0000 (17:48 +0000)]
Fixed encoding

24 years agoUpdated German translations for Glib and GTK+ HEAD. Phew.
Matthias Warkus [Tue, 15 May 2001 17:47:47 +0000 (17:47 +0000)]
Updated German translations for Glib and GTK+ HEAD. Phew.

24 years agoApply patch from John Margaglione that converts from args to properties.
Alexander Larsson [Tue, 15 May 2001 15:31:45 +0000 (15:31 +0000)]
Apply patch from John Margaglione that converts from args to properties.

2001-05-15  Alexander Larsson  <alla@lysator.liu.se>

* gtk/gtkpacker.c: Apply patch from John Margaglione that converts
from args to properties.

24 years agoUpdated Ukrainian transaltion
Yuri Syrota [Tue, 15 May 2001 14:52:55 +0000 (14:52 +0000)]
Updated Ukrainian transaltion

24 years agoApply patch from John Margaglione converting from args to properties.
Owen Taylor [Tue, 15 May 2001 14:14:19 +0000 (14:14 +0000)]
Apply patch from John Margaglione converting from args to properties.

Tue May 15 10:11:59 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkpreview.c: Apply patch from John Margaglione converting
from args to properties. (#51957)

* gtk/gtkscale.c (gtk_scale_class_init): Move install property
calls to after ->set_property call.

24 years agoUpdated Ukrainian transaltion
Yuri Syrota [Tue, 15 May 2001 11:08:39 +0000 (11:08 +0000)]
Updated Ukrainian transaltion

24 years agoBlock against redundant changes.
Owen Taylor [Mon, 14 May 2001 19:14:57 +0000 (19:14 +0000)]
Block against redundant changes.

Mon May 14 14:56:21 2001  Owen Taylor  <otaylor@redhat.com>

* tests/prop-editor.c: Block against redundant changes.

* gtk/gtkpaned.c gtk/gtk[hv]paned.c: Add position, position_set
properties.

24 years agoMissed from last commit.
Owen Taylor [Sun, 13 May 2001 22:43:26 +0000 (22:43 +0000)]
Missed from last commit.

24 years agoRemove creative formatting.
Owen Taylor [Sun, 13 May 2001 22:41:30 +0000 (22:41 +0000)]
Remove creative formatting.

Sun May 13 18:40:04 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkpixmap.h: Remove creative formatting.

Thu May 10 19:22:28 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktogglebutton.c:  Patch from John Margaglione converting to
property API. (#51669)

* gtk/gtkscale.c: Patch from John Margaglione converting to
property API. (#51891)

* gtk/gtkaccellabel.c: Applied patch from Lee Mallabone, converting
to property API. (#50985)

24 years agoremember widget's double buffering state across expose event, so we still
Tim Janik [Sat, 12 May 2001 13:16:40 +0000 (13:16 +0000)]
remember widget's double buffering state across expose event, so we still

Fri May 11 20:13:44 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtkmain.c (gtk_main_do_event): remember widget's double
        buffering state across expose event, so we still call end_paint().

24 years agoPeek strike-through setting (gdk_draw_layout_line_with_colors): Render
ERDI Gergo [Fri, 11 May 2001 23:29:37 +0000 (23:29 +0000)]
Peek strike-through setting (gdk_draw_layout_line_with_colors): Render

2001-05-05  ERDI Gergo  <cactus@cactus.rulez.org>

* gdk/gdkpango.c (gdk_pango_get_item_properties): Peek
strike-through setting
(gdk_draw_layout_line_with_colors): Render strike-through

24 years agoExpose the ring in the triangle at the correct place when exposing just a
Alexander Larsson [Fri, 11 May 2001 22:24:59 +0000 (22:24 +0000)]
Expose the ring in the triangle at the correct place when exposing just a

2001-05-11  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkhsv.c (paint_triangle):
Expose the ring in the triangle at the correct place when
exposing just a part of the triangle.

24 years agoReturn FALSE, or window focusing will not work.
Alexander Larsson [Fri, 11 May 2001 21:57:33 +0000 (21:57 +0000)]
Return FALSE, or window focusing will not work.

2001-05-11  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkwindow-decorate.c (gtk_decorated_window_focus_change):
Return FALSE, or window focusing will not work.

24 years agodocs, fixes bug #54144
Havoc Pennington [Fri, 11 May 2001 17:13:44 +0000 (17:13 +0000)]
docs, fixes bug #54144

2001-05-11  Havoc Pennington  <hp@pobox.com>

* gtk/gtkimage.c (gtk_image_new_from_stock): docs, fixes bug
#54144

* gtk/gtkcolorsel.c (gtk_color_selection_new): docs, fixes
bug #54330

2001-05-11  Havoc Pennington  <hp@pobox.com>

* gtk/tmpl/gtkvruler.sgml,
gtk/tmpl/gtkhruler.sgml: fix bug #54431

* gtk/tmpl/gtkdrawingarea.sgml: fix bug #54331

* gtk/tmpl/gtkenums.sgml: fix bug #54329, and
update some other random things

* gtk/gtk-sections.txt: updates

* gtk/tmpl/gtkmenuitem.sgml: fix bug #54277

* gtk/tmpl/gtkradiomenuitem.sgml: fix bug #54323,
#54324, #54325

24 years agodon't propagate exposes to NULL child.
Tim Janik [Fri, 11 May 2001 04:09:47 +0000 (04:09 +0000)]
don't propagate exposes to NULL child.

Fri May 11 02:53:57 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtktogglebutton.c (gtk_toggle_button_expose): don't
        propagate exposes to NULL child.

        * gtk/gtkscrolledwindow.c (gtk_scrolled_window_adjustment_changed): guard
        against not having one of the scrollbars.

        * gtk/gtklabel.c (gtk_label_setup_mnemonic): clean up after us,
        we don't keep a mnemonic window if we have no mnemonic installed.

24 years agogrum, gtk_type_class() is not GNUC_CONST it has the _important_ side
Tim Janik [Thu, 10 May 2001 23:22:15 +0000 (23:22 +0000)]
grum, gtk_type_class() is not GNUC_CONST it has the _important_ side

Fri May 11 01:05:00 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtktypeutils.h: grum, gtk_type_class() is not GNUC_CONST
        it has the _important_ side effect of initializing a class.

24 years agoMake sure you can compile out the implementation/wrapper assert macros.
Alexander Larsson [Thu, 10 May 2001 22:44:27 +0000 (22:44 +0000)]
Make sure you can compile out the implementation/wrapper assert macros.

2001-05-10  Alexander Larsson  <alexl@redhat.com>

* gdk/linux-fb/gdkprivate-fb.h:
Make sure you can compile out the implementation/wrapper assert
macros.

* gdk/linux-fb/gdkdrawable-fb2.c:
Check implementation/wrappers, initialize type for pixmap dummys.

* gdk/linux-fb/gdkimage-fb.c (_gdk_fb_get_image):
Hide the cursor if reading from the screen.

* gdk/linux-fb/gdkrender-fb.c (gdk_fb_fill_span_generic):
Fix sign bug in tiling code.

* gdk/linux-fb/gdkwindow-fb.c (_gdk_windowing_window_clear_area):
Handle background pixmaps.

24 years agoNew function to let user control where columns are dragged.
Jonathan Blandford [Wed, 9 May 2001 22:23:12 +0000 (22:23 +0000)]
New function to let user control where columns are dragged.

Wed May  9 15:27:22 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_set_column_drag_function): New
function to let user control where columns are dragged.

* gtk/gtktreeview.c (gtk_tree_view_key_press): Cancel drags if
Escape is pressed.

24 years agoAdded include of unistd.h so that gid_t is defined (on Solaris)
Padraig O'Briain [Wed, 9 May 2001 16:15:09 +0000 (16:15 +0000)]
Added include of unistd.h so that gid_t is defined (on Solaris)

24 years agoNew "columns_changed" signal.
Jonathan Blandford [Wed, 9 May 2001 13:18:46 +0000 (13:18 +0000)]
New "columns_changed" signal.

Wed May  9 09:08:44 2001  Jonathan Blandford  <jrb@webwynk.net>

* gtk/gtktreeview.c (gtk_tree_view_class_init): New
"columns_changed" signal.
(gtk_tree_view_motion_draw_column_motion_arrow): Change column
motion code to draw arrows to the side if indicator is outside the
widget.
(gtk_tree_view_map_expanded_rows): Implement.

24 years agofixed invalid end-of-line.
Michael Natterer [Wed, 9 May 2001 12:29:49 +0000 (12:29 +0000)]
fixed invalid end-of-line.

2001-05-09  Michael Natterer  <mitch@convergence.de>

* ja.po: fixed invalid end-of-line.

24 years agoAdded .cvsignore files for CVS not to complain about executables
ÉRDI Gergo [Mon, 7 May 2001 22:05:32 +0000 (22:05 +0000)]
Added .cvsignore files for CVS not to complain about executables

24 years agoInclude gdkfb.h on linux-fb.
Alexander Larsson [Mon, 7 May 2001 19:27:51 +0000 (19:27 +0000)]
Include gdkfb.h on linux-fb.

2001-05-07  Alexander Larsson  <alexl@redhat.com>

* demos/testpixbuf-save.c:
* demos/testpixbuf-drawable.c:
Include gdkfb.h on linux-fb.

24 years agoNew function for getting toplevel window at position.
Alexander Larsson [Mon, 7 May 2001 19:24:18 +0000 (19:24 +0000)]
New function for getting toplevel window at position.

2001-05-07  Alexander Larsson  <alexl@redhat.com>

* gdk/linux-fb/gdkdnd-fb.c (get_toplevel_window_at):
New function for getting toplevel window at position.
(gdk_drag_find_window): Use get_toplevel_window () instead
of gdk_window_get_pointer(). (gdk_drag_status): Use
correct context for getting window.

* gdk/linux-fb/gdkproperty-fb.c (gdk_atom_name):
g_strdup the atom name.

* gdk/linux-fb/gdkwindow-fb.c:
Costmetic fix.

* gtk/gtkdnd.c (gtk_drag_source_handle_event):
Add code for changing cursor on linux-fb backend (same as
win32).

24 years agoFixlet - Federico
Federico Mena Quintero [Mon, 7 May 2001 18:12:30 +0000 (18:12 +0000)]
Fixlet - Federico

24 years agoTest for bin->child being present before doing anything with it. Patch
Federico Mena Quintero [Mon, 7 May 2001 18:08:10 +0000 (18:08 +0000)]
Test for bin->child being present before doing anything with it. Patch

2001-05-07  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkwindow.c (gtk_window_focus): Test for bin->child being
present before doing anything with it.  Patch from Håvard Kvålen
<havardk@netcom.no>.

24 years agofix some shell typos
Havoc Pennington [Mon, 7 May 2001 15:58:47 +0000 (15:58 +0000)]
fix some shell typos

2001-05-04  Havoc Pennington  <hp@redhat.com>

* configure.in: fix some shell typos

* gtk/gtkcolorsel.c (gtk_color_selection_destroy): warning fix

* gtk/gtkimage.c: handle animations

* gtk/gtkcheckbutton.c (gtk_check_button_size_request): request
border_width * 2, not just border_width

* gtk/gtkscale.c: add "format_value" signal to allow people
to override the way values are drawn.
(gtk_scale_get_value_size): fix width/height mistake,
and compute size from actual displayed text, not
from made-up text.

* gtk/gtktexttag.c (gtk_text_tag_class_init): fix return type in
signal registration

* tests/testtext.c: Add "Remove all tags" menu item for testing

* gtk/gtktextbuffer.c (gtk_text_buffer_remove_all_tags): implement

* demos/gtk-demo/main.c (main): add hack so we can find modules
without installing gtk

* demos/gtk-demo/textview.c (insert_text): demo font scaling

* gtk/gtkcellrenderertext.c: Add "scale" property (font scaling
factor)
(gtk_cell_renderer_text_set_property): remove some bogus
g_object_notify

* gtk/gtktexttag.c: add "scale" property which is a font scaling
factor

* gtk/gtktextlayout.c (add_text_attrs): add font scale attribute
to layout

* gtk/gtktextiter.c (gtk_text_iter_is_start): rename from
gtk_text_iter_is_first

2001-05-04  Havoc Pennington  <hp@redhat.com>

* pixops/pixops.c (pixops_process): merge fix from stable: Patch
 from hoshem@mel.comcen.com.au to fix nonzero X offsets.  Fixes
 bug #50371.

        * gdk-pixbuf/pixops/pixops.c (pixops_composite_nearest): merge
from stable: Patch from OKADA Mitsuru <m-okada@fjb.co.jp> to fix
confusion of using "src" instead of "p".
        (pixops_composite_color_nearest): Use a more accurate (and
correct, to begin with) compositing method.  This cures checks
showing through on images with no alpha.

* gdk-pixbuf.c (gdk_pixbuf_fill): fix bug that left some trailing
bytes unfilled.

* gdk-pixbuf-io.h: fix UpdatedNotifyFunc to use signed ints

* gdk-pixbuf-loader.h (struct _GdkPixbufLoaderClass): Change
area_updated signal to use signed ints.  Removed animation-related
signals.

* io-gif.c, io-gif-animation.h, io-gif-animation.c: Massive
rewrite action

* gdk-pixbuf-animation.c: Add GdkPixbufAnimationIter to abstract
all the pesky details. Remove old frame-based API. Make
GdkPixbufAnimation an abstract base class, derived by the loaders.

24 years agoUpdated Swedish translation.
Christian Rose [Mon, 7 May 2001 01:33:23 +0000 (01:33 +0000)]
Updated Swedish translation.

24 years agoupdated exports
Hans Breuer [Sun, 6 May 2001 14:07:49 +0000 (14:07 +0000)]
updated exports

2001-01-06  Hans Breuer  <hans@breuer.org>

* gdk/gdk.def : updated exports

* gdk/win32/makefile.msc : -DGDK_ENABLE_BROKEN otherwise
gdk won't compile anymore

* gdk/win32/gdkevents-win32.c : initialize ret_val when
processing GDK_FILTER functions, initialize event.key->hardware_keycode.
Improved gdk_flush () to not only do pending drawing operations
but also process all currently pending events. This should make
the behaviour more similar to the X11 version.

* gdk/win32/gdkgc-win32.c (predraw_set_background) : a background
option needs to be set even if there is no GDK_GC_BACKGROUND.
(gdk_win32_hdc_get) : use predraw_set_background () independent
of value_mask. This allows to draw dashed lines leaving the original
background intact.

* gdk/win32/gdkimage-win32.c (gdk_image_new_bitamp) : free data
after processing, because we can't reuse it as the X11 version does.

* gtk/gtk.def : updated exports

* gtk/makefile.msc.in : added ATK, removed all test apps. (I
would like to get rid of this file again, and use straight
makefile.msc again, as the other Gtk+ subdirs do)

* test/makefile.msc (new file) : build the test apps here

(phase two: something has send me a broken pipe signal :)

24 years agoupdated exports
Hans Breuer [Sun, 6 May 2001 14:02:45 +0000 (14:02 +0000)]
updated exports

2001-01-06  Hans Breuer  <hans@breuer.org>

* gdk/gdk.def : updated exports

* gdk/win32/makefile.msc : -DGDK_ENABLE_BROKEN otherwise
gdk won't compile anymore

* gdk/win32/gdkevents-win32.c : initialize ret_val when
processing GDK_FILTER functions, initialize event.key->hardware_keycode.
Improved gdk_flush () to not only do pending drawing operations
but also process all currently pending events. This should make
the behaviour more similar to the X11 version.

* gdk/win32/gdkgc-win32.c (predraw_set_background) : a background
option needs to be set even if there is no GDK_GC_BACKGROUND.
(gdk_win32_hdc_get) : use predraw_set_background () independent
of value_mask. This allows to draw dashed lines leaving the original
background intact.

* gdk/win32/gdkimage-win32.c (gdk_image_new_bitamp) : free data
after processing, because we can't reuse it as the X11 version does.

* gtk/gtk.def : updated exports

* gtk/makefile.msc.in : added ATK, removed all test apps. (I
would like to get rid of this file again, and use straight
makefile.msc again, as the other Gtk+ subdirs do)

* test/makefile.msc (new file) : build the test apps here

24 years agoRelease 1.3.5
Owen Taylor [Sat, 5 May 2001 14:07:45 +0000 (14:07 +0000)]
Release 1.3.5

Sat May  5 10:06:24 2001  Owen Taylor  <otaylor@redhat.com>

* Release 1.3.5

* configure.in (GTK_MICRO_VERSION): Up to 1.3.5

        * NEWS: Updated

* demos/gtk-demo/Makefile.am (EXTRA_DIST): Fix minor
Makefile breakage.

24 years agoFix typo in filename.
Owen Taylor [Sat, 5 May 2001 13:21:22 +0000 (13:21 +0000)]
Fix typo in filename.

Sat May  5 09:18:30 2001  Owen Taylor  <otaylor@redhat.com>

* demos/gtk-demo/images.c (progressive_timeout): Fix
typo in filename.

* gtk/gtktreeview.c (gtk_tree_view_row_activated): Comment
out FIXME warning; just too annoying.

24 years agoupdated azeri file
Pablo Saratxaga [Sat, 5 May 2001 10:27:13 +0000 (10:27 +0000)]
updated azeri file

24 years agoBetter error messages.
Alex Larsson [Fri, 4 May 2001 21:41:17 +0000 (21:41 +0000)]
Better error messages.

2001-05-04  Alex Larsson  <alla@lysator.liu.se>

* gdk/linux-fb/gdkcolor-fb.c:
Better error messages.

* gdk/linux-fb/gdkpixmap-fb.c (gdk_pixmap_new):
Initialize abs_x and abs_y.

* gdk/linux-fb/gdkrender-fb.c (gdk_fb_fill_span_generic):
Correct handling of stipple offset.

* gdk/linux-fb/gdkvisual-fb.c (gdk_visual_init):
Treat directcolor framebuffers as truecolor.

24 years agoAdd dependency on Atk for accessibility support.
Owen Taylor [Thu, 3 May 2001 20:11:14 +0000 (20:11 +0000)]
Add dependency on Atk for accessibility support.

Thu May  3 14:13:49 2001  Owen Taylor  <otaylor@redhat.com>

        * INSTALL.in HACKING gtk/gtkaccessible.[ch] gtk/gtk.c: Add
dependency on Atk for accessibility support.

* configure.in **/Makefile.am: Major reworking of substituted
variables for CFLAGS/LIBS to make a lot more sane and
keep the the compile/link lines a bit shorter.

* gdk/x11/gdkkeys-x11.c: Fix #endif with trailing stuff.

24 years agoremove '.' from end of include directory
James Henstridge [Thu, 3 May 2001 14:43:15 +0000 (14:43 +0000)]
remove '.' from end of include directory

24 years agoFix return value to be G_TYPE_BOOLEAN, not G_TYPE_INT, also, use
Owen Taylor [Thu, 3 May 2001 12:14:37 +0000 (12:14 +0000)]
Fix return value to be G_TYPE_BOOLEAN, not G_TYPE_INT, also, use

Thu May  3 08:10:54 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktexttag.c (gtk_text_tag_class_init): Fix return
value to be G_TYPE_BOOLEAN, not G_TYPE_INT, also,
use _gtk_boolean_handled_accumulator.

24 years agoPatch from Juan Pablo Mendoza Mendoza to fix things so clicking inside
Owen Taylor [Thu, 3 May 2001 11:15:26 +0000 (11:15 +0000)]
Patch from Juan Pablo Mendoza Mendoza to fix things so clicking inside

Thu May  3 07:00:09 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktextview.c: Patch from Juan Pablo Mendoza Mendoza
to fix things so clicking inside selection leaves cursor
at point where clicked. (#50324)

* gtk/gtksettings.c (gtk_settings_class_init): Restore
sane value for default double click time.

* tests/testtext.c (test_init): Really path to input modules.

24 years agoFix trailing comma on enumeration. (#54071)
Owen Taylor [Thu, 3 May 2001 09:38:45 +0000 (09:38 +0000)]
Fix trailing comma on enumeration. (#54071)

Thu May  3 05:36:06 2001  Owen Taylor  <otaylor@redhat.com>

        * pixbuf.h: Fix trailing comma on enumeration. (#54071)

24 years agoinclude target-specific headers as done in testpixbuf-drawable.c
Sven Neumann [Thu, 3 May 2001 09:38:07 +0000 (09:38 +0000)]
include target-specific headers as done in testpixbuf-drawable.c

2001-05-03  Sven Neumann  <sven@convergence.de>

        * demos/testpixbuf-save.c: include target-specific headers as
        done in testpixbuf-drawable.c

24 years agoSplit the property editor code out for reuse, improve.
Owen Taylor [Thu, 3 May 2001 00:46:41 +0000 (00:46 +0000)]
Split the property editor code out for reuse, improve.

* tests/prop-editor.[ch] test/testtreeview.c tests/Makefile.am:
Split the property editor code out for reuse, improve.

24 years agoReduce new_text_length appropriately when we run into the size limit for
Owen Taylor [Thu, 3 May 2001 00:46:19 +0000 (00:46 +0000)]
Reduce new_text_length appropriately when we run into the size limit for

Wed May  2 20:36:38 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkentry.c (gtk_entry_real_insert_text): Reduce
new_text_length appropriately when we run into the
size limit for the entry. (#53445, reported by Jeff Franks)

* tests/testgtk.c (create_entry): Remove most of the
property toggle buttons. Replace with a "Props" button
that brings up a property editor.

* tests/prop-editor.[ch] test/testtreeview.c tests/Makefile.am:
Split the property editor code out for reuse, improve.

24 years agoAlways trap errors around calls to XSetInputFocus since we have no way of
Owen Taylor [Wed, 2 May 2001 21:31:52 +0000 (21:31 +0000)]
Always trap errors around calls to XSetInputFocus since we have no way of

Wed May  2 17:26:22 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkevents-x11.c gdk/x11/gdkwindow-x11.c: Always
trap errors around calls to XSetInputFocus since we have
no way of knowing reliably whether we are viewable or
not. (#53947)

24 years agofix bug in dropping columns. Moving columns now basically works modula
Jonathan Blandford [Wed, 2 May 2001 05:25:09 +0000 (05:25 +0000)]
fix bug in dropping columns. Moving columns now basically works modula

Tue May  1 09:21:23 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_button_release_drag_column):
fix bug in dropping columns.  Moving columns now basically works
modula some fine tuning.